package o;

import com.huawei.appgallery.foundation.account.bean.UserSession;

public class brm extends brj implements bri {
    public static final String APIMETHOD = "client.jgw.forum.tab.get";
    private String directory_;
    private String maxId_ = "";
    private int reqPageNum_ = 1;
    private String uri_;

    public static class e {
        private String ˊ;
        private String ˋ = "";
        private bqv ˎ;
        private int ˏ;
        private String ॱ;

        public e(String str) {
            this.ˊ = str;
        }

        public e ॱ(String str) {
            this.ॱ = str;
            return this;
        }

        public e ˏ(bqv o_bqv) {
            this.ˎ = o_bqv;
            return this;
        }

        public final e ˋ(String str) {
            this.ˋ = str;
            return this;
        }

        public final e ॱ(int i) {
            this.ˏ = i;
            return this;
        }

        public brm ॱ() {
            brm o_brm = new brm(this.ॱ, this.ˎ);
            o_brm.ॱ(this.ˊ);
            o_brm.ˋ(this.ˋ);
            o_brm.ॱ(this.ˏ);
            o_brm.setCacheID(o_brm.ˋ());
            return o_brm;
        }
    }

    brm(String str, bqv o_bqv) {
        super(str, o_bqv);
    }

    public int ˎ() {
        return this.reqPageNum_;
    }

    public void ॱ(int i) {
        this.reqPageNum_ = i;
    }

    public void ˋ(String str) {
        this.maxId_ = str;
    }

    public String ॱ() {
        return this.uri_;
    }

    public void ॱ(String str) {
        this.uri_ = str;
    }

    public String ˏ() {
        return APIMETHOD;
    }

    protected String ˋ() {
        String str = ˊ() + ॱ() + doi.ॱ();
        String userId = UserSession.getInstance().getUserId();
        if (userId != null) {
            return str + userId;
        }
        return str;
    }
}
